package com.zzj.model.dto.hospital;

import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

@Data
public class HospitalUpdateDTO {
    @NotNull(message = "请输入医院id")
    private int id;
    @NotEmpty(message = "请输入医院名称")
    private String hospital;
    @NotEmpty(message = "请输入医院图标")
    private String logo;
    @NotEmpty(message = "请输入医院地址")
    private String address;
    @NotEmpty(message = "请输入医院类型")
    private String type;
    @NotEmpty(message = "请输入医院性质")
    private String property;
    @NotEmpty(message = "请输入医院规模")
    private String scale;
    @NotEmpty(message = "请输入医院等级")
    private String level;
    @NotEmpty(message = "请输入创办年份")
    private String establishYear;
    @NotEmpty(message = "请输入医院简介")
    private String description;
}
